package demo.security.core.social.qq.connect;

import demo.security.core.social.qq.api.QQSocial;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

/**
 * QQConnectionFactory
 *
 * @author lidj
 * @date 2018-02-05
 */
public class QQConnectionFactory  extends OAuth2ConnectionFactory<QQSocial> {
    public QQConnectionFactory(String providerId, String appId,String appSecret) {
        super(providerId, new QQSocialServiceProvider(appId,appSecret), new QQAdapter());
    }
}
